package com.wh.wisdomsite.xbox.st.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.wh.wisdomsite.xbox.st.entity.PurchaseFile;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.Map;

/**
 * 采购附件DAO
 * @version V1.0
 * @author: 杨世强
 * @Package com.wh.wisdomsite.xbox.st.dao
 * @date 2018-12-24 14:18
 * @Copyright 企业版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2018
 */
@Repository
public interface PurchaseFileMapper extends BaseMapper<PurchaseFile> {

    /**
     * 根据Id查询完整的附件信息
     * @param id
     * @return
     */
    Map<String,Object> getMapById(@Param(value = "id")Serializable id);

}
